(function(e,o){typeof exports=="object"&&typeof module<"u"?module.exports=o(require("vue")):typeof define=="function"&&define.amd?define(["vue"],o):(e=typeof globalThis<"u"?globalThis:e||self,e.index=o(e.vue))})(this,function(e){"use strict";const o=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase(),i=e.defineComponent({__name:"index",props:{icon:{default:"Bell"},value:{default:""},max:{},isDot:{type:Boolean,default:!1}},setup(t){return(n,a)=>{const l=e.resolveComponent("el-badge"),r=e.resolveComponent("el-popover");return e.openBlock(),e.createBlock(r,{placement:"bottom",width:400,trigger:"click"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),reference:e.withCtx(()=>[e.createVNode(l,{style:{cursor:"pointer"},value:n.value,max:n.max,"is-dot":n.isDot},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(`el-icon${e.unref(o)(n.icon)}`)))]),_:1},8,["value","max","is-dot"])]),_:3})}}});return{install(t){t.component("m-notification",i)}}});
